package io.renren.modules.vastFinance.enums;

public class EnumType {
    //1.声明Season对象的属性
    private final String enuTypeName;
    //2.私有化类的构造器
    private EnumType(String enuTypeName) {
        this.enuTypeName = enuTypeName;
    }

     public String getEnuTypeName() {
         return enuTypeName;
     }

    //3.提供当前枚举类的多个对象：public static final的
    public static final EnumType ONE = new EnumType("等额本息");
    public static final EnumType TWO = new EnumType("等额本金");
    public static final  EnumType THREE = new EnumType("每月还息一次还本");
    public static final  EnumType FOUR = new EnumType("一次还本还息");

    @Override
    public String toString() {
        return "EnumType{" +
                "enuTypeName='" + enuTypeName + '\'' +
                '}';
    }
}
